//
//  NormalNaviView.m
//  BaseProject
//
//  Created by 王洋 on 2020/7/17.
//  Copyright © 2020 王洋. All rights reserved.
//

#import "NormalNaviView.h"

@implementation NormalNaviView

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.rightItem.userInteractionEnabled = YES;
    [self.rightItem addGestureTapEventHandle:^(id  _Nonnull sender, UITapGestureRecognizer * _Nonnull gestureRecognizer) {
       if (self.NormalNaviViewBlock) {
           self.NormalNaviViewBlock(NormalNavi_right);
       }
        
    }];
}

- (IBAction)backAction:(id)sender {
    if (self.NormalNaviViewBlock) {
        self.NormalNaviViewBlock(NormalNavi_back);
    }
}

@end
